﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Navigation;
using System.Windows.Shapes;

namespace AnesSystem.Controls
{
    /// <summary>
    /// 下拉框的数组内容为无和有
    /// </summary>
    public partial class CustomComHuXiXiTongCtrl : BaseDropDownCtrl
    {
        public CustomComHuXiXiTongCtrl()
        {
            InitializeComponent();
            InitialHuXiXiTong();
            TextAlignment = TextAlignment.Left;
        }
        public TextAlignment TextAlignment
        {
            get { return _hxCmp._txtName._txt.TextAlignment; }
            set { _hxCmp._txtName._txt.TextAlignment = value; }
        }
        private void InitialHuXiXiTong()
        {
            List<CommonComboboxItemModel> list = new List<CommonComboboxItemModel>()
            { new CommonComboboxItemModel() { Behind="",Display=""},
                new CommonComboboxItemModel() { Behind="-1",Display="无特殊"},
               new CommonComboboxItemModel() { Behind="桶状胸",Display= "桶状胸"},
                new CommonComboboxItemModel() { Behind="呼吸音减弱",Display="呼吸音减弱"},
                new CommonComboboxItemModel() { Behind="呼吸音增粗",Display="呼吸音增粗"},
               new CommonComboboxItemModel() { Behind="哮鸣音",Display= "哮鸣音"},
               new CommonComboboxItemModel() { Behind="干啰音",Display= "干啰音"},
              new CommonComboboxItemModel() { Behind="湿罗音",Display=  "湿罗音"},
               new CommonComboboxItemModel() { Behind="紫绀",Display= "紫绀"},


            };
            this._hxCmp.ItemsSource = list;

        }

    }
}
